import { request } from "./request";

export function getIpAddrInfo(ip: string) {
  return request.get("https://whois.pconline.com.cn/ipJson.jsp", {
    responseType: "arraybuffer",
    params: {
      ip,
      json: true,
    },
  });
}
